Mesh.MshFileVersion = 1;
Mesh.MshFileVersion = 1;
a=0;
b=1;
c=0;
d=1;
h=0.1;
Point(1) = {a,c,0.0,h};
Point(2) = {b,c,0.0,h};
Point(3) = {b,d,0.0,h};
Point(4) = {a,d,0.0,h};
Line(1) = {1,4};
Line(2) = {4,3};
Line(3) = {3,2};
Line(4) = {2,1};
Line Loop(5) = {3,4,1,2};
Plane Surface(6) = {5};
Physical Line(1) = {1};
Physical Line(2) = {2};
Physical Line(3) = {3};
Physical Line(4) = {4};
Physical Surface(6) = {6};
nx = 2/h;
ny = 2/h;

Transfinite Line {1,3} = ny + 1 Using Progression 1.0;
Transfinite Line {2,4} = nx + 1 Using Progression 1.0;

Transfinite Surface {6} = {1,2,3,4};
Recombine Surface {6};

